package com.joven.shelltest.utils.mapstrategy;

import org.springframework.stereotype.Component;

/**
 * @Author: wzj
 * @Date: 2024/3/4 10:48
 */
@Component("add")
public class AddCalculationStrategyImpl implements CalculationStrategy{

    @Override
    public int operate(int num1, int num2) {
        return num1 + num2;
    }
}
